package com.example.service;

import com.example.entity.PageBean;
import com.example.entity.Worker;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;


public interface WorkerService {
    Worker login(Worker worker);

    Map<String,Object> getuUserinfo(String token);

    PageBean page(Integer pageNum, Integer pageSize, String name);

    void add(Worker worker);

    void delete(List<Integer> ids);

    Worker findById(Integer id);

    void updata(Worker worker);
}
